package com.lagou.domain;

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 9:44 上午 2021/7/13
 */
@Component
public class Article implements Serializable {

    private static final long serialVersionUID = -8717785855863228868L;

    private int id;
    private String content;
    private String title;

    public int getId() {
        return id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
